#pragma once

#include "Menu.h"

class People;
class Team;

class OfferPlayerMenu : public Menu
{
public:
	OfferPlayerMenu(MenuManager* const i_menuManager);
	
	void Draw() const;
	bool Input(const STL::string& i_input);
	void SetPlayer(People* const i_player){m_player = i_player;}
	void SetUserTeam(Team* const i_team){m_userTeam = i_team;}
	void OnEnter();
	void OnExit();

private:
	People* m_player;
	Team* m_userTeam;
	
	mutable bool m_readyToGo;

	int m_phase;

	int m_gift;
#ifndef DARIO
	int m_salary;
	int m_months;
	int m_penalty;
#endif

	enum EPhases
	{
		ENTRYGIFT = 0,
#ifndef DARIO
		SALARY,
		MONTHS,
		PENALTY,
#endif

		NUM_PHASES
	};
};